package com.pan.script.pantrans.action.impl;

import com.pan.script.pantrans.action.Action;

import java.awt.*;

public class MouseMoveAction implements Action<int[]> {
    @Override
    public void run(Robot robot, int[] args) {
        if (args.length != 2){
            throw new RuntimeException("args error: ");
        }
        robot.mouseMove(args[0], args[1]);
    }
}
